package com.hihonor.game.document;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

/**
 * @fileName: Employee
 * @author: LmR
 * @createDate: 2023/12/7 22:35
 * @Desc:
 */
@Data
@Getter
@Setter
@Document(collection = "employee")
public class Employee {
    @Field
    private String name;
    @Field
    private String gender;
    @Field
    private Integer age;
    @Field
    private String employeeId;
    @Field
    private String address;
}
